Added debug_extras.debug_put_error
Now able to set default permissions for newly uploaded files, closes #123