Some PEP8 style fixes.
Fixes issue with Frozen server and templates directory.
Catch BlockingIOError in ioucon.
Replace decode errors when reading device configs.