Fix to use the correct context when a new package file is created with a .m extension

This fixes http://halirutan.myjetbrains.com/youtrack/issue/MMAP-13

Note: You will need to add [org.apache.commons.io](http://commons.apache.org/proper/commons-io/) to the classpath before compiling.