A Multi-Level Library for Understanding I/O Activity in HPC Applications