Change due to a change in the sendReply function in the base class Services (services/REST/services.php); also added storage of error message when bad file_data given