Forbid creating snapshot files when not in writeMode in PmSnapshotTool.