always write meta.js file whether or not user data is provided (fix #39)