Implement ar archive glueing.
Clean up the file merging code.