Use mime-magic to send proper Content-Type