Helpers.Encodings refactor to be support on Linux/Windows