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 :/
this is minimally invasive, because it exactly reuses the working fcpput and only adjusts what is needed.