Fix for removing temp files on Windows
Merge pull request #483 from dbabokin/win_rm_files

Fix for removing temp files on Windows