using tempfile for serialization of the model file
Merge pull request #27 from briandrawert/picklable_model

using tempfile for serialization of the model file