Add output buffer padding to handle Android 4.3.
Always open database when requested, defend against open failures
Merge branch 'master' of github.com:pfn/keepassdroid