Added support for Multisite

Code was not previously working for multisites. This code has been tested on WordPress 2.x Multisite upgraded to 3.5. When upgrading < 3.0, the upload location for blogs.dir is retained in its original location. Usually this is wp-content/blogs.dir/{blod-id}/files.