How to Sell an Imperfect Product