hash the temporary filename