Bug 916878 - [Gallery] Write API for blobview.js

This is necessary to be able to write metadata back on media files