lib/file: revamp API with `Path` and a nity `FileStat`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: rename `Path` to `AStarPath`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>