Fix copying of fs*.h files during RTS registration (#566)