fix progress indication for small files