It's currently not possible to set the desired encoding for the stat action when using NetStorage.java. Suggesting adding a new stat method to NetStorage.java with an additional parameter Map<String, String> additionalParams (same as for the dir action).