base64 encode image bash