FLUME-2466. Embedded agent name cannot contain spaces

(Johny Rufus via Hari)