Fixed require paths in string/newEncode