vfs: add helpers to get root and pwd