close #32 by converting base64 images to binary in node