Update: throw error on dir failures