Removal of ^M characters