avoid deprecated .exists method
work around broken open :p (pipe) feature in rakudo