fix a couple errors when a % is in the archive file path