Fixing buggy interaction with Cloud Code

Without the new line of code, when updating a class that has a file and a "BeforeSave" cloudcode method you generate the following error:

parse_rest.core.ResourceRequestBadRequest: {"code":141,"error":"Uncaught Tried to save an object containing an unsaved file."}.

This change fixes the problem.

Let me know if you have any questions.