Helper method to encode the specified path in Modified UTF7 encoding.
path
static String encode(String path) { return _modifiedUtf7Codec.encodeText(path); }