ManFileParser state should be reset when the input changes

https://issues.jboss.org/browse/FORGE-1418