Strip Unicode BOM if present, to prevent command parser choking on it