Use functools.partial to simplify vaspio_set.