Replaces absolute paths with relative ones