Actually check for errors in digest256_to_base64() and callers
We don't propagate errors from base64_encode() to digest256_to_base64() and its callers.
Discovered as part of legacy/trac#29959 (moved).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information