Move base64 encoded image into binary file.