Modify regex in _set_filename_version

now recognizes both single- and double-quoted versions of the string