Strip-off BOM from config file