Paul, Phil Scala had a similar issue today on his Windows machine.
He has created a JIRA issue and has submitted a patch that will be checked in soon. https://issues.apache.org/jira/browse/FLUME-1993 You can compare this with your changes to see if it helps.
