introduce ``default_file_factory`` on directories for controlling default file child creation