get packfile written to temporary directory