Remove to_s inside #{}

Minor fixes for rapid7#2905