Changed the file-type attribute to info-type, added the mime-type field.
This affectes the auto-addition of types and the stat and manifest
endpoints.