write IP to ~/.myip