Add message expectations for file permission enforcement

Based on my reading of the tests, this should have been in place before. As best I can tell, the tests stopped passing because of this change in `FileUtils`: https://github.com/ruby/ruby/commit/1e2a6a20e5a6bc2ab3d77e398b511202bd489d0d