Use mogrify instead of convert to edit images in place