ctdb-server: Use wrapper for string to integer conversion