InMemoryResource needs a toString because that is what the
DefaultServlet uses to determine the default mimetype of the
 file. It should be the name of the file.