base64 encode file in opsworks