build: write ABI_VERSION file when staging the package