Update WeavingTransformer and tests to use excludePaths option