fixed fs.write for _pre and _usr