Create a new writer for multi-pack-index files.
location to store the writer pointer.
the directory where the .pack and .idx files are. The multi-pack-index file will be written in this directory, too.
0 or an error code
See Implementation
Create a new writer for multi-pack-index files.