added new method for writing an AppData jar entry directly from an InputStream.