Refactored the video output classes, such that they can always be used
to streamline the output. The function write_video has thus been
gereralized and moved to video/io/file.py