Restrict 'w' mode to GTiffs.

Closes #3.