Fix FileInPath 7X compatibility conflict