Use fixed version of directory-encoder