Resolve symlinks before running p4 commands on a file

While this should really happen inside the p4 executable, I don't have the source code for that. We have symlinks from one portion of the tree to another, and this lets us edit in either location and successfully checkout the file in p4.