'.replace' would find the first dot in the path.
Allows for optional trailing / or /index.html
Conflicts: youtube_dl/extractor/audiomack.py