Support for older node versions

They needed another encoding parameter.