Yes this does not work under JRuby. Not sure why, but it just fails without binary flag.