Fix inline base64 functions.

Review: https://reviews.apache.org/r/21796