Normalize file paths so that tests can pass across different platforms.

Currently, tests will fail on Windows if a forward slash is in the path if the path is a string. Likewise, if the file tree is passed in, the tests fail on Windows because the path is joined with a forward slash.

This patch normalizes the path in the assertion to make it work cross-platform.