Bash Script Replace Space With Underscore Python