Fix 'String index out of range: 5' error when video device file has no s...

...uffix.