use std::io::fs::PathExtensions

Fixes #41
Merge pull request #42 from tarcieri/use-path-extensions

use std::io::fs::PathExtensions