Capture screenshots without filename and line number

When capturing screenshots manually you may not want the line number and source file in the screenshot name. This commit adds this functionality.