throw an exception on the empty file path ""

closes #67
Merge pull request #69 from yesodweb/empty-path

throw an exception on the empty file path ""