fix databaseDirectory for windows

Should hopefully fix issue with running distributed cluster on windows