Fix archive_name field handling for installer archives

In case the "archive_name:" field is omitted from configuration file
and the archive_name is to be deduced from the original package name,
remember to ensure the archive name will get .7z suffix.

Change-Id: Ia8b8b0b923e93ff8adcd37aaafe98d3037a1e842
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Sanity check RPath patching

When patching RPath for binary files sanity check the available space
inside the binary file. If insufficient space abort execution to
avoid hidden issues later on.

Change-Id: I52e7d027b134ac5b128873cd0359e0ad68bbe00f
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>