Use libmagic to extract the file's creation year