create folders if output destination doesnt exist