PosixTarEntry was broken while adding an option to specify encoding at
TarEntry.
Unit tests added.