Fixed #93
Also fixed  an issue in the file manager with dir names containing slashes or dots