various: replace _get_block_size with _get_file_block_size when needed