Skip file monitoring in release builds.

Apparently this causes performance problems in some situations, particularly in 1080° Avalanche, and it already wasn't doing anything useful except in debug.