Use multiple temp files on saving to recover from IOExceptions
Authored by: pestatije 2009-11-21
Parent: [r33]
Child: [r35]