try to fix upload file decode error, refs 163