rename the post file when uploading succeed.