handle case of deleted file in stat