Fix #581 follow symbolic links