Path: added wrappers for OS dependent methods

Made an array that has a list of all of the OS dependent methods. Node
will loop through that array and then make wrappers for each OS
dependent function. These wrappers will figure out which OS the path
is coming from and then call the appropriate method.