Fix file open for gpustats