Does `decode64` raise an exception if it cannot decode the string? If so, this should be rescued.