Don't stat non-file handles.