Set real content-type for file downloads (#1489439)