Store metatype upon file creation.
type: Documentation shouldn't mention mime types.
Remove removed file from the cache hash table.
Replaced File::mk{dir,file} with File::create.
Set the metadata type upon file creation.

We use the standard that the type is also a MIME type.
Superfluous log removed.