options is a parameter of the add function, not o1.  This is how rackspace is told what to name the file.

Merge pull request #14 from benrlodge/fix-filename-option
fix options.filename for id variable (reverted from commit 327f80e5f9dd50455e8c392cc7351978e7bb2506)