Pinboard importer: add test, fix bug

Add test that imports three posts.  Fix bug the test uncovered.  We need
to make a copy of the post in the importBatch loop before handing it off
to asynchronous importPost call.

Change-Id: Id8dea72b03dd3666dde97e977c921a8955e67392
schema: set a default UnixPermission in FileMode if needed

Change-Id: I98fd229d0cbd69069a7c39a26e5c8b4444d13ed1
camtool makestatic: create dir on top of static-set

Change-Id: I6d71211450a195174ef8ac0ac5a66d44d6955927
Merge "Pinboard importer: add test, fix bug"
blobpacked: fix up doc comment

Change-Id: I13bad6626b857c038cd10167dcdd04ac013d44b1