Use `path-separator' to be cross platform.
Use `copy-sequence' to clone a list.