the output HTML file must be under the current working directory

closes yihui/knitr#680
no need to normalizePath()
Merge pull request #1 from yihui/master

Better swf2html()