Make 'prepare_temp_file()' ignore st_size for symlinks