Test if value is valid for fs.readFile option