I've been quite disappointed recently to lose an hour's work because I didn't
notice the filesystem I was trying to store my files into ran full while I've been
Well, this is C++, the underlying ofstream class already offers it, so it's as simple
as to enable IO exceptions.
Patch can be found here: