MULE-7667: File filter not working when recursing on subfolder

close on a finally in case the write fails