Use underscores instead of dashes in temporary file names.