java.nio.charset.MalformedInputException

Source.fromInputStream throws " java.nio.charset.MalformedInputException" when spark running on windows. there are two class (Utils and PipedRDD) use the method. fixed it