[io-layer] Remove status.h, types.h, timefuncs.h and macros.h (#4069)