Saving Files In Python Using Open Function In C