We should conform to mozdevice here, otherwise results will be unexpected:

> WARNING: does not create last part of the path. For example, if asked to create `/mnt/sdcard/foo/bar/baz`, it will only create `/mnt/sdcard/foo/bar`