Support path-based grammar detection when using stdin
0.14.0