allow mode to be set in rootless file
zipfile can create a directory from a zip archive