Fixed memorial files not writing on Windows.