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