Not to sound harsh, but the issue is not
"if" a power outage will occur, it's
"when" it will happen again. If your personal tradeoff between spending some money and removing hassles like this allows it, buy yourself a cheap UPS. All you need is a few minutes run time to allow you to save your file and execute an orderly shutdown of your system. Around here you can pick up
a brand new small unit for around $40 - $50 USD.
Tom M
PS - If you think that losing this one data file was annoying and causing you problems, just imagine what you would have to go through if the power goes off in the middle of your computer doing an update or writing to some important system file like the file allocation table on older OS's. In such cases you might have to reinstall the OS and everything else on your system.