Use os.path.join instead of urllib.parse.urljoin, fixes #12
Only use os.path.join for local files
Merge pull request #13 from jhamrick/os-path-join

Use os.path.join instead of urllib.parse.urljoin, fixes #12