ctdb-scripts: Reindent some functions prior to making changes