add VIEW and SEND intents that are shared via a ParcelFileDescriptor pipe
fix problem where db file was getting corrupted when used elsewhere (fixes #1 closes #2)

file extracted from IOCipher DB is getting corrupted because of memory
leaked by out stream. Proper closing of the out stream will fix the issue