Better detection of corrupted module files.
Fix: Missing db transaction
Fix: sql where on an int must not contains '
Mark file as bugged (seriously)