disable buffering for temporary files

- this avoids flush calls before reading the file inside the with statement