Fix returned extension formatting.
Merge pull request #10 from Dismounted/fix-get-extension

Fix returned extension formatting.