Updated mkfs to add nested directories