eba72b9690b9afc7bca19dc0cbcd1eccd8c77026
Ensure source maps are the last non-empty line

Fixes #496