Redirect /foo to /foo/ if foo is a static directory #186