Fix Content-Type overriding

Similarly to #1760 it's not possible to use custom `Content-Type` header for files. The following doesn't work:

    reply.file('./example').type('application/json');

The returned `Content-Type` header is `application/octet-stream`. This pull request fixes the issue and returns `application/json`.
Updated the PR.