allow CRLF line ending in JSON file

JSON file updates may have either Windows or Unix line endings but
padded JSON files are saved with Unix line endings