introduce set_rate_limit function for QEMUFile