bug fixes to MIX schema conversion
better checking of file permissions before processing
improved status and error messages when running against a directory