Cache entryref and entry_md in request context

Previously we were making system calls to fstat a given file multiple
times to service a single GET request. With this patch, we memoize the
file descriptor and fstat info (entry_md) to avoid the extra calls.