When the file is too big, the block size doesn't get updated and we
reach multipart maximum number of parts raising the corresponding
exception. Calculating the block size for each operation based on the
actual file size seems to solve the issue. (closes #11)