Fixed mistake by writing the <script> tag

The file destination had still the .moon extension, while .lua is required in other to work.
Merge pull request #1 from mrdejong/master

Fixed writing the meta.xml file