fix: DEVNULL not working in python3.2