Method ignores results of InputStream.skip()