Omit trailing whitespace when writing empty activity to TimeLog.