Refactored stdout redirection into util module
Fixed bug in util where execute_suppressed() did not return the output value of the wrapped function