Fixed encode64 to add the trailing 0s properly when count > src.length.
Fixes #2