[SPARK-1690] Allow empty lines in PythonRDD