Make platform.sh sensitive to all failures

Without "set -e", if you run this script using older cabal, it might continue running after failing to create a sandbox, which would install hptool's dependencies into user's local cabal installation.