Fix an encoding issue

this.options.data.toString() assumes it's UTF-8 and ignore the provided encoding.