Add screenshots_path setting (issue #4191)