Gael Monfils made history by becoming the oldest winner of an ATP Tour singles title at the ASB Classic in Auckland.