lime/src/disk.c: further refinements to file open path