fix archive format from scp