[entropy.client] handle errno.ENOTDIR when using lstat