fix the getFileName() ,because the filename can't create in windows.

Signed-off-by: Jason Tan <tankle120@gmail.com>
fix the getFileName()