throw normal exceptions, fix mkdir
Merge branch 'master' of git://github.com/netherphp/avenue