Further bug removal. Added utimens(), which was oddly missing. Added locking to rename()