refactor(bootwrite) pFD -> fd