…resolved by using name of database instead of data reference. Database table was locked for write access, which is why it could not be opened by the zip input stream. As we don’t need to access the data itself, using the name ought to be fine.