Switch_to_blog before uploading the file, so it can go to the main site dir