[extractor/common] --write-pages: Correct file name if video_id is None