Take a screenshot_to_dir of a widget
@param widget :: QWidget to take an image of @param filename :: Destination filename for that image @param screenshot_dir :: Directory to put the screenshots into.