Update Module.class.php

Fixed permission problem for modules after install