Handle temporary files in a way that accomodates Windows better.

We apparently need to close those file handles. There is a slight change
in aeidon.Project.preview return values. Revert atomic_open patch from a
few commits back; it's no longer needed and file writes should now be
atomic on Windows too.