Added async realpath and stat calls