Began function to write animation frames to disc.