Updated site.py to actually strip off file extensions rather than strip off the characters ['.', 'm', 'd']