def gzip(filename):
<EOL>retcode, output = sh('<STR_LIT>' % filename)<EOL>new_filename = filename+'<STR_LIT>'<EOL>return (retcode, output, new_filename)<EOL>
Gzip a file
    returns a 3-tuple with returncode (integer), terminal output (string)
    and the new filename.