Run echo command redirect through sudo shell

This allows the command to output to a file location that standard users don't have access to write to.