Tracer respects order between exec/opened files

Previously, a file that was opened and executed would always be handled
as if it had been executed first and opened second, no matter the
timestamps.