Make our mkdirs recursive, so that they'll work the first time they run.
Use /mnt/data instead of /data, because stuff should be mounted in /mnt, not in the root directory.