(size_trunc_len): minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Merge branch '3000_incorrect_filesize'