Write the DNG noise model to a file as well

Also some drive-by gpylint cleanups.

Test: manual, ran script
Change-Id: I5d8bf1541b517e6b69e578ab72d346fc8412599b
1 file changed