Invoke callback immediately if errror occurs
Use is-jpg directly instead of image-type

https://github.com/sindresorhus/is-jpg