output temporary latlong file to the same directory as the output file's.