Add Capitalize function
Expand internalization support in client. Defer close method on open files.