Fix mime.types parsing (#1489391)