Preserve alternate file extension. Resolves #6