Fix for tar < 1.24 to preserve directory ownership