handle Mongoid::GridFS returning nil intead of a DocumentNotFound error