assaf/uuid — pull request #27 by cwninja (2012-10-02 16:32:56+00:00)
Title: Manually setting the state_file path sets mode too

When manually setting the state file, set the mode too.
Failure to do so causes an implicit conversion of nil to integer on
first usage.

Also provided a mode method to set the mode explicitly.