Example of decoding base64 strings to binary image file