ctdb-tools: Use wrapper for string to integer conversion