Traveling internationally? Taking a photo of your passport barcode before you depart could save your trip if you lose your document while abroad.