DOCS-931 error page directory copies safely