Add support for $ensure on server::file