Use Perl rather than Python for `realpath`.