Fixed issue with gridvid.py to copy output properly