Lipase catalyzed regioselective esterification of a terminal diol.