Actually use the cleaned closure in foreachPartition
Merge pull request #606 from markhamstra/foreachPartition_fix

Actually use the cleaned closure in foreachPartition