Added new static method: "extname" and some tests.