How to create binary files out of base64 encodes strings in submissions