Consider Windows in our getDatabaePath test

The current test added in pull request #789 will break on Windows. I don't have a Windows box to verify this on, but I believe this should do the trick.