Minimal implementation of realpath(1) in go