Fix memo file path creation on Windows

Fixes https://trac.openmicroscopy.org.uk/ome/ticket/12271.