Fix #939 - broken b64 for large files