IDE-1365 strip carriage returns for file comparsion test