some fix to the Router already applied on master; it is about correctly telling if "files" folder is writable or not