Move para_tmpname() to file_write.c and make it static.