Added some error handling when connecting to Opensubtitles and added better handling of periods in file names