Fix crash from using third party gallery apps

Some third party apps return unexpected URI's when photos are
cropped. An example is the Piktures app.
Instead of trusting their URI returned in the intent, copy the
photo from theirs into one which was generated by us and use that.

Test: Verified saving a contact with a picture that was cropped
from the Piktures app doesn't crash.

Bug: 33617676
Change-Id: I33e8922e5d89fabfcb90009d32b82a8a3f26c262
1 file changed