Revert "Flash: Always use encodeURIComponent on file name. Close #576."

This reverts commit 243511764029d1dddd6ee48c64bf948325723584.