Install shell scripts with mode +x

This involves copying code from Cabal because reasons.