use cascading's unique function for better performance

This should be faster since it does a map side unique first

http://docs.cascading.org/cascading/1.2/javadoc/cascading/pipe/assembly/Unique.html