Don't use .tmp suffixed files; be as atomic as possible instead

Using .tmp files creates build races with fmake with high -j values