Changes:

Changed method of detecting Cancel button in file/folder dialogs (two
commits ago),
Added creation of temporary folder for illegal files in directory above
Patch files