Hide sed error output if -r is not supported. Fixes issue #3.