autoconfig.php only to be deleted on successful installation


fixes #12277

@jnfrmarks 
Proposal at https://github.com/owncloud/documentation/pull/657