FilePart use buffer not string anymore

Buffer are better to manage file content and are now used to store
FilePart data.
Now FilePartManager check if encoding is valid at instantiation