Converted image.c and gnutls.c functions that accept file names.