Fixed bug in BlockFile where a specified length less than READ_BLOCK_SIZE caused total_read size to be invliad