Fixing some non-idiomatic python code.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Trying to feed the jni path into Hadoop.

Signed-off-by: Joe Buck <jbbuck@gmail.com>