error while browsing folders (found using node 0.10)