Remove palimpsest.
Move tmp file directory setting to top.
Set flymake to use tmp directory.