Fix a handful of small errors.

* Missing closing brace.
* Parent directories must first exist in a few cases.
* /etc/networking/interfaces should be /etc/network/interfaces.

Also, clean up a few whitespace oddities.