Inventories, Lumpy Trade, and Devaluations