Canonicalize path before taking its parent (#5052)
Canonicalize path before taking its parent (#5052)

This means that files in the working directory can actually be saved.
wisechengyi/pants,baroquebobcat/pants,pantsbuild/pants,foursquare/pants,foursquare/pants,UnrememberMe/pants,fkorotkov/pants,UnrememberMe/pants,UnrememberMe/pants,UnrememberMe/pants,benjyw/pants,twitter/pants,fkorotkov/pants,wisechengyi/pants,twitter/pants,baroquebobcat/pants,twitter/pants,jsirois/pants,baroquebobcat/pants,baroquebobcat/pants,UnrememberMe/pants,pantsbuild/pants,wisechengyi/pants,jsirois/pants,baroquebobcat/pants,foursquare/pants,tdyas/pants,baroquebobcat/pants,fkorotkov/pants,pantsbuild/pants,tdyas/pants,wisechengyi/pants,jsirois/pants,benjyw/pants,wisechengyi/pants,foursquare/pants,pantsbuild/pants,tdyas/pants,pantsbuild/pants,baroquebobcat/pants,pantsbuild/pants,wisechengyi/pants,benjyw/pants,twitter/pants,fkorotkov/pants,fkorotkov/pants,foursquare/pants,wisechengyi/pants,fkorotkov/pants,twitter/pants,benjyw/pants,foursquare/pants,benjyw/pants,twitter/pants,fkorotkov/pants,tdyas/pants,twitter/pants,twitter/pants,UnrememberMe/pants,foursquare/pants,baroquebobcat/pants,UnrememberMe/pants,benjyw/pants,wisechengyi/pants,tdyas/pants,wisechengyi/pants,tdyas/pants,foursquare/pants,baroquebobcat/pants,foursquare/pants,UnrememberMe/pants,tdyas/pants,benjyw/pants,tdyas/pants,UnrememberMe/pants,tdyas/pants,pantsbuild/pants,fkorotkov/pants,twitter/pants