Fix post_install to capture output and errorlevel correctly

This is the logging bug that was preventing rollbacks from occurring.

@ofanite, @ehealy, @marcuswalser, @jjrussell
cc: @Tapjoy/opsautomation