cc.path.extname 获取扩展名

用 cc.path.extname() 函数获取扩展名
如果格式是这种 “xxx.com?xxxx.png” 会获取到 .com 而不是 .png
不清楚这个是否是bug