Fix launching files via chrome.app.runtime.onLaunched.