Fix typo in constructing temp file name