write yacc parsed file to TMPDIR.