ecryptfs: fix error handling