rmtmp now works on filenames with spaces