Github user sanjaydasgupta commented on the issue:
https://github.com/apache/zeppelin/pull/2978
Done. Also used more formal way of creating the temporary file.
I've tested the integrated code on Ubuntu 16.04 - success case only :-) but
am not sure how things will work on Windows. Much of the confusion over
atomicity seems based on the different platform-specific behaviors (UNIX vs
Windows) of the _rename_ function in the underlying C Standard library.
Thanks for the insight @Tagar ---
