Replaces forstdin with custom fork that allows for emtpy files and lines missing the newline. See #329