abstracting file downloads into a fnuction that can either automatically follow 302 redirects from the note file API resource or do a manual redirect. works well in both desktop app and chrome webapp.
fixing nasty bug in file system that overwrites data it shouldnt, causing file data to be inaccessible (although not corrupt)
converting console.log to console.error in protected threaded (de)serialize