Different quoting style
Use mktemp to create temporary files
Remove unnecessary semicolons
Remove temporary files on signals
Merge branch 'master' of github.com:extrememember/imgopt