add implementation of req.sendfile()