Fix https issue: Use wp_upload_dir path plus filename, rather than relying on string matching.
Merge pull request #7 from hbrock25/master

Fix https issue: Use wp_upload_dir path plus filename