Resolved fingbugs issues for nio packages, some were false positives

Why did you do this? Now we got a cas statement extra.