Handle priv_dir failure in cowboy_dispatch