Write your public ip to a file