Saving Files In Python Using Open Function