Fixed bin/generate_apacheconf failing

s/EPrints::Config::write/EPrints->system->write_config_file/