FLUME-2052. Spooling directory source should be able to replace or ignore malformed characters

(Mike Percy via Hari Shreedharan)