added first tests
path_ext without options does not create directories
removed redundant otype to string function