Silence some warnings about unclosed resources

The warnings were all false-positives.