fix base64 encoding for big files
Merge pull request #8 from mphman/jp-fix-base64-encoding

fix base64 encoding for big files