stripln: Strip line endings