Patch attached which modifies behaviour in macpath, posixpath, and ntpath - and modifies tests as well. Change is desirable, the intention is to split the extension from the filename. A fiel called '.foo' does not have an extension. There is the possibility that this change will break code where workarounds have been made.