Fix CP #1: 'Could not open' error while processing downloaded archive.

* Added rtrim around unpacked string data in archive.inc
Merge branch 'bug/1' into master-cp