Update visibility without params[:generic_file]

If you only change a file’s visibility, params[:generic_file] is nil so
the update never happens. This provides a separate method to account
for this situation.