Change where clause in original_filename exists? check to quoted question mark form.

To get around column quoting issue when using with postgresql.  The original exists? was causing postgresql to treat the value as a table column due to quotation problems.