Calc MD5 in setters for sound and costume data

**NOTE**: This pull request is against the v424 branch.

This change calculates the new MD5 for costume or sound data in a new setter for that data. This should eliminate the possibility of the data and MD5 getting out of sync.