Normalize bundle filenames (which usually have forward slashes)

If we don't normalise first, the split(path.sep) doesn't do the right
thing.
The normalize will also eliminate '.' and '..' elements which is
probably the right thing to do.