Swapped a few Print/Println statements with Fatalf, which is
equivalent to Printf() followed by a call to os.Exit(1).