Preparation of long-chain fatty acid chlorides