Fix case of readlinkSync()
Ensure bundle config files use forward slashes.
Fix normalizeSlashes so that if it is needed, it would actually replace more than one slash.
Be more tolerant when splitting into lines.