Working on file size in fgetattr