fix(dom) set current file after copy/move