Replace absolute paths with relative home directories