Use if; then style in write-tripleorc

The rest of the scripts in TripleO conform to the if []; then style,
so bring write-tripleorc into line.

Change-Id: I72173d66f87c2d145ca4958c15da80a06e5b8261
Merge "Use if; then style in write-tripleorc"