Fixed space information update and several code optimizations

- fix STOR-678
- fixed RmDir, MkDir and PtP with automatic directory creation enabled space info update

directoryCount