Locks patch 1

Version working with 0.99.6

https://github.com/beatrichartz/sinatra-mustache/pull/7