PetScan::extract_array: rename "dim" variable to "space"