Path.read/write - work with bytes instead of strings