base64, FCP additions and fcpupload script

this forms the base of my later changes in files-in-manifest.

I only now saw the comments you made on november 24th 2013 :/