oh boy ...

the python os module as code to create folder that will work on both windows and unix.
calling sudo is really ugly. If folder cannot be created an informative message should
be returned. What @Eric89GXL suggested ie passing a path to datasets function
is the right approach.