file_info: implement os_file_info_get_filesize

this replaces os_get_file_size and file_info.stat.st_size
file_info: implement os_file_info_get_hardlinks
file_info: implement os_file_info_get_blocksize