Fixed freeing of ReadableByteChannel when using non-memory mapped io

ResourceHandler leaks file handles when using non-memory mapped files, causing file locks on windows.

I am an eclipse committer and my cla is on file.