Do not check filename lengths when using directory_tree=0.