fixed Invoke-Snippet so that it works with signed script files on PowerShell 3.0