fix Rakefile: use tee instead of > for writing to avoid use of nested quoting