Make file paths relative to the value specified with -paths_relative_to ...

...switch

Please merge for 2015.1