Add encodeFilePath to FileUtils to convert file paths into encoded strings (replace metacharacters such as %, @, $, #, etc.)

Cannot use encodeURI/encodeURIComponent because they replace `#` with `%25`, which is incorrect - should be replaced by `%23`.

I'm not sure if there is a Brackets' utility for this already (I searched for it but couldn't find it).

I've tested with `test#tt.jpg` and `test%tt.jpg`, but nothing else - are there any other special characters that should be added to this replace scheme?

Should this be moved to a module in `utils/` and loaded from ImageViewer?

Fixes #9117.
I don't think we need a test for every single char.
I'd suggest one test with a totally fake path like `#?@test&".js`, one with a more common like `C:/test/$data.txt`, and one totally valid like `/Applications/Test/test.html`.