move uploaded file after saving the new post