create_date, write_date may not be specified as object fields, so we cannot always call them. Use the perm_read() instead (which works for all objects). However, the datetime returned may have fractional secs, in which case a better conversion function shall be used. bzr revid: p_christ@hol.gr-20100729133937-fslzb5xba2pq5grj