Fix for bots.txt read/write issue