Added validation for --subsfmt

If --subsfmt value is invalid, warning is generated and default
subtitles format is used.