Writing passport image to file!