[PATCH v5 2/9] httpapi: Don't open files with zero access.