Fix for multiple files of different sizes

There's a small bug in the code I committed that causes the paths to be returned from `ls` to be incorrect. If you have multiple files that have different sizes, the spaces that hadoop pads the strings with will be different causing the offset to change.

Would appreciate this to be merged asap so as not to cause problems for other users :-)

Thanks!