fn set_max_open_files(limit: rlimit64) -> Result<()>
Set the soft and hard limits of max number of open files to the given value.