sha1-file: use an object_directory for the main object dir