Fixed to encode properly #1

revert diff from https://github.com/y-ken/mysql-udf-base64/commit/f278437