Fix a buggy usage of lfatal()

    we were passing a null string. oshit.
Add basic stat-like functionality to libstd.