Fix encoding error in jruby
Fix encoding error in jruby

This is kind of sledgehammer approach, but it seems to do the trick, and gives us full support of JRuby, yay!
refile/refile,y-yagi/refile,Axxiss/refile,div/refile,ChanChar/refile,Eric-Guo/refile,toothfairy/refile,ninjapanzer/refile,abitdodgy/refile,manfe/refile,JasOXIII/refile,ChanChar/refile,Axxiss/refile,JasOXIII/refile,manfe/refile,abitdodgy/refile,refile/refile,callmeed/refile,superacidjax/refile,acrogenesis-lab/refile,ninjapanzer/refile,monkbroc/refile,acrogenesis-lab/refile,Eric-Guo/refile,monkbroc/refile,callmeed/refile,toothfairy/refile,ChanChar/refile,callmeed/refile,refile/refile,monkbroc/refile,Eric-Guo/refile,div/refile,acrogenesis-lab/refile,div/refile,y-yagi/refile,abitdodgy/refile,Axxiss/refile,toothfairy/refile,JasOXIII/refile,superacidjax/refile,superacidjax/refile,manfe/refile,ninjapanzer/refile,y-yagi/refile