Make Rack::Static custom headers thread safe

 * Do not manipulate instance variables of Rack::File, add new headers
   after return from the file server.

 * Do not use instance variable to store path, use local vars and params
   instead.

Fixes #558