fix #27 .extname() method.

 On branch master

	modified:   index.js
	modified:   test/test.js