save selfie to tmp folder