Use Base64.strict_encode64 to avoid invalid newlines
Merge pull request #5 from andrew/fix-base64

Use Base64.strict_encode64 to avoid invalid newlines