Fix issue in scan.py when subtitle is in .sub format