encode base 64 / mkfile 400