When buffer optimization is enabled, call to LocalFileIOAdapter::skip() sometimes skips wrong number of bytes. This can be reproduced by trying to import a BAM file with index (the import task uses the method for random access to the file), e. g. ftp://ugene-quad-ubuntu/data/illumina/BC_cellLinesData/LowPass_DNAseq/BAMs/BT-20_sorted.bam with index ftp://ugene-quad-ubuntu/data/illumina/BC_cellLinesData/LowPass_DNAseq/BAMs/BT-20_sorted.bam.bai