Changes to ScanContents to use system file separator when building file path.