creating temp files based on the os type