Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the old