Update utils.py

Fixes remaining DEVNULL issue