Bash script to find / replace jpegs into pngs. Preserving names