Basic replica of GNU ar (http://linux.about.com/library/cmd/blcmdl1_ar.htm)