Add magic detection of file content type using Tika. Resolves #125.