I don't think these methods belong in the mortar:local controller, as the commands that use them aren't mortar:local ones and they aren't used anywhere except for the the mortar s3 commands.  I'd suggest putting all of them into lib/mortar/s3.rb.