Replace all of the backslashes in partial names to correctly name deeply nested partials.

Allowing partial names like one/nested/partial to be used. Currently only the first backslash is replaced so it would be named one/nested\partial on Windows.