Ignore newlines in build_info files

If a build_info file contained only a newline then, when rebuilding a
gem, the empty build_info would be displayed to the user which was
confusing.

Now empty lines in the build_info file are ignored which prevents the
message from being shown.

Fixes #903