fixes the double init / attach of atom's tree-view (works well with tree-view-open-files)