Also fixed a typo in performance testing framework and removed hardcoded temporary file name from highgui perf test