fast-import: support 'encoding' commit header