Fixed memorial files not writing on Windows.
Merge memorial file hotfix.