Makes it work when using meterpreter. Because "quit" or "exit" in the console ends up calling die() instead of falling through to whatever's left in the file, a meterpreter session would never reach the code to delete itself before this change.