Get real path of spectrum before loading it.

This fixes #14.