More PEP8 fixes and fixed screenshot for remote driver.

Lines should be shorter than 80 characters and the variable
'file_name' was incorrectly used as 'filename' for remote driver screenshot.