Manual removal of temporary files to get around issues on cygwin.