Made directoryArchiver obey InputStream contract