Never mind, I figured out the root cause. I didn't have a file extension on the file name. I used the following regular expression to grab the file extension:
Nintex would like to place cookies on your computer to improve your browsing experience.
If you do not wish to allow cookies from this website, you may configure your browser so that you are notified before a cookie is downloaded or so that your browser does not accept cookies.