Fix s3 writes with style procs

S3#flush_writes was accessing the styles option without checking for a
proc. We can just use the instances styles method to have it done for
us.