Fix request.lua to handle trying to open a stupid file

This took a while to track down because the error message we get is crazy.