Fix path delimiters on windows
Merge pull request #740 from ForbesLindesay/patch-1

Fix path delimiters on windows for directory middleware