fix(DAV): Change working directory to context's root dir (close #5016)