issue #377, send 404 error for deleted files