rose: use Python to do "readlink -f" if necessary.

"readlink -f" is GNU extension.

Supersede #752.