Remove isEditor parameter, check path sanity on saving