Fix sorting of segment names to ignore NFS left over files.

Closes #17.