Ensure file doesn't exist, use file extension
Merge pull request #1 from wilsonodk/better-file

Ensure file doesn't exist, use file extension