import cross-platform functions file.py
remove unused imports
remove unused import
don't overwrite builtin 'type'
stop clobbering 'type'
add more file imports
moar imports
Merge pull request #4708 from UtahDave/import_file_functions

Import file.py functions to win_file.py