NimLime didnt work on Win 8.1 machines
Moved the --def command to the right position before projfile in the nimrod idetools command.
Set delete=False in NamedTemporaryFile() and deleted the file manually using os.unlink since windows dont let you open a file for write and then read it, and closing it deleted the file.