Made rdd.py pep8 complaint by using Autopep8 and a little manual tweaking.