redirect stdout to a file in python?,os.system('echo this also is not redirected')