split by null byte works on jruby
Version bump to 0.5.2
Regenerate gemspec for version 0.5.2