Refactor spark-core to use Utils.UTF_8