Strip 1.8.7 trailing line break in base 64 encoding