[response/index.js] protect against undefined self.headers in sendFile

Noticed on certain page requests that the self.headers object in response.sendFile was undefined. I figured a quick fix was to protect against this inline. However, if there is a higher level fix, that's cool too.