Applied linter to codebase.
Removed dup'd apps.
Only switch to the underlying raw output buffer when binary data is
needed to be written.
Merge remote-tracking branch 'origin/master' into py3k