Auto-create folders if they don't exist.