API Reference
Nuke uses forward slash on all platforms, including Windows (which is odd and unconventional), this method encapsulates that.