bug: set proper headers for proxied file