try to open when writing to temporary file, for any format