Disregard query paramters

- Fixes an issue where files could not be found if the request included
  query parameters