added a forced coersion in _set_ioprio as memory_mb passed in *could* be a string