Minor change to fstat check