some more fixes

+ aie_arcopen() now accepts strings and handles file opening and closing by itself
+ aie_ARCFORMATS_COUNT is now of type size_t
+ aie_kmarctable() does not leak anymore