Add better filetype validation and remove personally identifying metadata from media files

Dependencies added:

python library: mutagen
python library: magic
outside binary: mogrify