archive: Set file executable bit from archive contents

https://bugzilla.gnome.org/show_bug.cgi?id=634735