Adding try and catch when deleting files attached to a node.
Remove the try and catch.
Merge pull request #3717 from openscholar/2769-error-handler

Don't save a NULL value in the upload field.