Fix directory separators when running on Windows server
Add more directory middleware tests
Merge pull request #914 from dougwilson/fix/windows-directory-separator

Fix directory separators when running on Windows server