Bug 838390 - mozfile should have a method to read from a file or URL;r=jgriffin