Use guess-content-type. Update tests and readme.