HotFix for IntentExtensions from commit 79d48dd

I'm sorry, I forgot that my modified version has `using File.IO`, so I didn't correct that after copy&pasting here.
Merge pull request #407 from PenaPP/patch-3

HotFix for IntentExtensions from commit 79d48dd
Merge remote-tracking branch 'upstream/master'