DO NOT MERGE: Rename temp file to use a valid image file extension am: bb6d38615e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12455083

Change-Id: I9d51a70a19d429c5a8491fdcf3084f826e0f8e28