Fixed bug that file name with space cannot be uploaded.