static directory redirect should not discard query string

See issue https://github.com/senchalabs/connect/issues/792