Fix csv mime to extension conversion