Adds y64encode / y64decode

This fixes #271