create_on_write feature.

create repository directory on first write,
instead of open.