Fix password length for utf-8 encoded chars (http://zargony.com/2009/07/24/ruby-1-9-and-file-encodings)