Loading and Processing Images from HDFS into RGB arrays with PySpark