Update inliner.js

Replace path.existsSync with fs.existsSync, added check for non-existent file.