midiogre: fix folder_handler on windows #1001