LoadFromDirectoryList: take a vector instead of a null-terminated array.