Add redirection support for os.system
Remove "./" prefix from path