Use Crystal MIME library for determining content-type.