Remove references to old BinFile table. Fix audit log problem when inserting pictures