LUN-1859 add external file from upstream https://code.google.com/p/visvis/source/browse/vvmovie/images2gif.py, revision: fd98d1016fb8
LUN-1859 Split read/write public functions to work with streams too