Holomorphic differentials, thermostats and Anosov flows