WIP: statSync can throw.