Added file lock on run.
Added logging for unknown line ending property.