Bash Script Replace Space With Underscore In Python