Implement base64 decoding

I tried the SecDecodeTransform but the results always came back
with 0 bytes. It was easier to just implement it.

Right now failure is totally silent, ideally if the base64 data is invalid
we would alert, and do so without prompting for a filename.