Fixes directory escaping bug in FileServer

Closes #37