Fix #224 Unique video names limits to about 100

- Move filename functions to util.py
- Simply add a counter at the end of filename beginning at 0