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