The illegal filename check should be done on Windows only. These are all valid filenames on the mac.