remove space from temporary file name