Removing tralling \n from timestamp.