-Fix: Windows is being Windows; hopefully this fixes it
-Codechange: file access using data-dir from config (patch by samsve)