Update install-arangodb.sh

echo to temporary file instead of direct modification.