fn toPosixPath(file_path: []const u8) ![MAX_PATH_BYTES - 1:0]u8

Used to convert a slice to a null terminated slice on the stack. TODO https://github.com/ziglang/zig/issues/287

Parameters

file_path: []const u8,