There's no need to perform an `os.Stat()` first, because `os.Open()` also returns the same errors if the file does not exist, or couldn't be opened for other reasons. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
There's no need to perform an `os.Stat()` first, because `os.Open()` also returns the same errors if the file does not exist, or couldn't be opened for other reasons. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>