Update mime_base64.lua

Use optional length of string for lua string arguments being encoded or decoded.