php <5.4 doesn't support truncate for stream wrappers
add readme