Added a check for media files in the audit table.

When media files were uploaded, their contents were sometimes being logged and other times not. Now, they are always being omitted.