extended string class for Ruby 1.8.7, switched out entry.mtime for file_...

extended string class for Ruby 1.8.7, switched out entry.mtime for file_datetime

Fixes two bugs

1) method force_encode does not exist
2) can not apply to_i to entry.mtime in certain instances.