[api] Fix Chinese filename encode
[api2] Fix a few typos