Fixed a few typos

This is required because simply using "sudo echo ... > ..." doesn't work, as the shell redirection isn't elevated and won't have access to create the file.