add async i/o support for saving avis