invoke Imagemagick to get DateOriginal and store it in DB