Properly quote and expand script name and arguments to allow spaces

Running generated installed as `./foo.run -- "my value"` results in two arguments passed to the install script ("my" and "value") which is incorrect. This pull requests makes it possible to pass arguments containing spaces to the install script as well as to built-in `--tar` command.