Fixed when real file is in a sym linked directory.

If one of the directories in the path is a symbolic link the errors from
phpcs will not be picked up. This change makes it work (and still works
when there are no symbolic links).

Based on an issue on arnested/drupal-mode#14.