COMPRESS-297 only mark file as non-closed when it can be read

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1647348 13f79535-47bb-0310-9956-ffa450edef68
2 files changed