encode64 method inserts newlines every 60 characters

thanks to @medvedobijec for spotting this