fix 1132. Capture fs.sync exceptions at instantiation