Python String Replace Space With Underscore In Latex