require: Bug causing files not to be included

If a filename is a substring of an already require'd file, then the
require call will fail because it thinks that the file has already been
require'd. Fix this by checking for filename padded by spaces on both
sides.