fix filemode of lib/app.php