Close file descriptor after call to tempfile.mkstemp
Close file descriptor after call to tempfile.mkstemp

To prevent accumulating open file descriptors in long running server
processes which can cause errors like "[Errno 24] Too many open files"

leture/sorl-thumbnail,leture/sorl-thumbnail,leture/sorl-thumbnail