[mms] Improved error handling/logging when system temporary directory is not accessible.