Sorry for delay. This actually can't be quoted. The function is called with $dirs containing whitespace-separated directory names without the $out prefix.