tmp-format: implement function to save TMP file