Catch 404 when duplicating files

And use full namespace for exceptions
Allow filename of '0'