NSS Send Mail: Fix file saving functionality
NSS Send Mail: Fix all errors (working now).