smart_chdir now works properly with nerdree buffers