Use mozlog instead of raw print statements

I hope I used mozlog well - I looked at mozversion source as an example.