Fix `convert_file_size_to_int` for kilobits and megabits
_The documentation is not available anymore as the PR was closed or merged._
Minor change to fully align this function with the recent change in Transformers (https://github.com/huggingface/transformers/pull/16891) 