Fix the bug of extra param empty problem, which caused the mkfile comman...

...d return 301 rather than 200.