Added libmagic to determine content-type
Version up to 2.0.22