Store GPS coordinates before images are saved. (#464)