Rewrite some backup utils to remove duplicated code and not fail on individual file copy