fix bug in hadoop and wtf filesystem wrapper.

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>