Update directory.js

directory middleware has backslashes in generated html hrefs on Windows